package com.dzqc.fly.db.form;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@Schema(description = "审批请假单表单类")
public class updateLeaveForm {

    @NotNull(message = "请假单ID不能为空")
    @Schema(description = "请假单ID")
    private String leave_id;

    @NotNull(message = "审批意见不能不为空")
    @Schema(description = "审批意见")
    private String fdyyj;

//    @NotNull(message = "请假总时长不能不为空")
//    @Schema(description = "请假总时长")
//    private int hours;

    @NotNull(message = "审批状态不能不为空")
    @Schema(description = "审批状态")
    private int shenpistatus;
}
